<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>添加用户</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<link rel="stylesheet" th:href="@{/css/style.css}" type="text/css"/>
<link rel="stylesheet" th:href="@{/css/main.css}" type="text/css"/>

<body>
<form method="post" action="/user/addUser" id="requestForm">
    <div id="main">

        <div class="where">
            <ul>
            </ul>
        </div>

        <div class="sort_switch">
            <ul id="TabsNav">
                <li class="selected"><a href="#">添加用户</a></li>
            </ul>
        </div>

        <div id="tagContent0" class="sort_content">

            <div class="currency_area hue9">
                <div class="the_title T10">
                    <h5><strong>用户</strong></h5>
                </div>
                <div class="the_content">

                    <table class="tableHue2" width="100%" border="1" bordercolor="#dddddd" cellspacing="0"
                           cellpadding="0">
                        <tbody>
                        <tr>
                            <td width="15%" class="title1">用户名称：</td>
                            <td class="left">
                                <input name="lastName" type="text" class="input_text2" size="30"/>
                            </td>
                        </tr>
                        <tr>
                            <td width="15%" class="title1">密码：</td>
                            <td class="left">
                                <input name="passwd" type="text" class="input_text2" size="30"/>
                            </td>
                        </tr>
                        <tr>
                            <td width="15%" class="title1">用户组：</td>
                            <td class="left">
                                <select name="groupId">
                                    <option th:each="group,groupStat:${groups}" th:value="${group.id}"
                                            th:text="${group.name + '_' + group.type}"></option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td width="15%" class="title1">年龄：</td>
                            <td class="left">
                                <input name="age" type="text" class="input_text2" size="30"/>
                            </td>
                        </tr>
                        </tbody>
                    </table>

                </div>
            </div>

            <div class="fun_area" style="text-align:center;">
                <input type="submit" value="确 定" onclick="$('#requestForm').submit()" class="input_button1"/>
            </div>

        </div>
    </div>
</form>

</body>

</html>
